package com.haifeng.jupiter.gateway.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 权限返回实体
 * </p>
 *
 * @author Haifeng
 * @since 2020-08-16
 */
@Data
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
public class PermissionDto implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "权限id")
    private String id;

    @ApiModelProperty(value = "权限编号")
    private String permissionCode;

    @ApiModelProperty(value = "权限名称")
    private String permissionName;

    @ApiModelProperty(value = "权限url")
    private String permissionUrl;

    @ApiModelProperty(value = "权限在当前目录下的排序")
    private Integer permissionSort;

    @ApiModelProperty(value = "权限类型：1-菜单；2-按钮")
    private Integer permissionType;


}
